SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 32252: The SAS Enhanced Editor is not available after installing SAS® 9.2, and various error messages display that point to regsvr32.exe as a possible cause

DetailsAboutRate It

In SAS 9.2, if you cannot open a SAS Enhanced Editor window, you might see the following message in the SAS Log window:

ERROR: SAS Syntax Editor control is not installed.

The Windows Event Viewer might display the following error:

   Application popup: regsvr32.exe - Unable To Locate Component : 
   This application has failed to start because USP10.dll was not found. 
   Re-installing the application may fix this problem.

If you check the sassetup.log file, it might appear that the editor is installed:

   PROCFILES: install-eeditor: Successfully Launched
   PROCFILES: install-eeditor: Status: COMPLETED
   PROCFILES: Performing External Process for eeditor complete.

The eeditor_silentsetup.log file in c:\program files\sas\SASFoundation\9.2 might indicate a successful installation:

   [ResponseResult]
   ResultCode=0

The eeditor__

   C:\PROGRA~1\SAS\SHARED~1\ENHANC~1\EDITOR~1.OCX registered successfully

To work around this issue, open SAS, select View ► Program Editor, and type and submit your code via the Program Editor.

To remedy the issue, first re-register the enhanced editor with the following command from a DOS prompt:

   c:\winnt\system32\regsvr32.exe "C:\Program    
   Files\SAS\SharedFiles\enhancededitor\EditorControl.ocx"

Note: The command above might begin with c:\windows\system32 if regsvr32.exe is located in this folder instead.

The registration process might fail with a series of errors:

   REGSVR32.EXE - Unable To Locate Component
   This application has failed to start because USP10.dll was not found. 
   Re-installing the application may fix this problem.

   REGSVR32
   LoadLibrary("c:\Program Files\SAS\SharedFiles\enhancededitor\
   EditorControl.ocx") failed. GetLastError returns 0x0000007e.

If the Windows registration process fails with a series of errors, this could be caused by having an older version of regsvr32.exe on the machine. This problem occurs specifically with regsvr32.exe version 4.0.0.0 and file date 10/04/1995. However, the problem might not be limited to this version of regsvr32.exe.

To resolve this issue, upgrade regsvr32.exe to the latest version for your operating system. For Windows XP, a regsvr32.exe version that works is 5.1.2600.2180 and the file date is 8/4/2004. However, other authentic Microsoft versions of regsvr32.exe should work.

For other possible causes, refer to SAS Note 20757 "Error messages might appear in the SAS® log when you invoke SAS or open the Enhanced Editor".

Starting in SAS 9.2 TS2M3, during the install, additional messages are written to the Enhanced Editor log files to track steps that are taken during the install. However, the wrong version of regsvr32.exe might be installed on the machine, regardless of the SAS version.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 2008 for x649.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 for x649.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft® Windows® for x649.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows XP 64-bit Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.21_M39.2 TS2M09.2 TS2M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.21_M39.2 TS2M09.2 TS2M3
Windows Vista for x649.219.21_M39.2 TS2M09.2 TS2M3
Microsoft Windows XP Professional9.219.21_M39.2 TS2M09.2 TS2M3
Windows Vista9.219.21_M39.2 TS2M09.2 TS2M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.